//
//  HDCFDdmmCell.h
//  HaoDeCaiFu
//
//  Created by 郑开宏 on 2017/11/2.
//  Copyright © 2017年 郑开宏. All rights reserved.
//

#import <UIKit/UIKit.h>

@class HDCFDdmmCell;

@protocol HDCFDdmmCellDelegate <NSObject>

@optional

- (void)hdcfDdmmcell:(HDCFDdmmCell *)ddmmCell withIndex:(NSInteger)index;

@end
@interface HDCFDdmmCell : UITableViewCell

@property (nonatomic, weak) id<HDCFDdmmCellDelegate>delegate;

@property (nonatomic, assign) NSInteger index;

@property (nonatomic, strong) NSDictionary *dataDict;
//区分基金预约跟好得理财的cell显示
@property (nonatomic,assign) NSInteger fromID;

@property (weak, nonatomic) IBOutlet UIView *backView;
@property (weak, nonatomic) IBOutlet UILabel *fundName;
@property (weak, nonatomic) IBOutlet UILabel *fundCode;
@property (weak, nonatomic) IBOutlet UILabel *earnType;
@property (weak, nonatomic) IBOutlet UILabel *earnTypeText;
@property (weak, nonatomic) IBOutlet UILabel *wanEarn;
@property (weak, nonatomic) IBOutlet UILabel *startMoney;
@property (weak, nonatomic) IBOutlet UIButton *buyBtn;
@property (weak, nonatomic) IBOutlet UILabel *valueLabel;
+(instancetype)HDCFDdmmCell;

@end
